/*
 * @文件描述:
 * @版本:
 * @作者: 周晨阳
 * @Date: 2021-01-16 00:16:36
 */
#ifndef DAC_H
#define DAC_H
//#include "stm32f4xx.h"
#include "public.h"

#define DAC_1 1
#define DAC_2 2
#define DAC_REF_VOLTAGE 3.3f

void My_DAC_Init(void);
void setDAC_Voltage(uint8_t which,float voltage);
void openDAC(uint8_t which);
void closeDAC(uint8_t which);

#endif